package com.cloud.annotation.order;

import org.springframework.boot.autoconfigure.AutoConfigureOrder;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
@AutoConfigureOrder(10)
public class MyConfigurationA {
    public MyConfigurationA() {
        System.out.println("MyConfigurationA");
    }

    @Bean
    public OrderA demoA() {
        return new OrderA();
    }
}